package com.xxx.video.network.listeners;

public abstract class CommonResponseListener<T> {
    /**
     * call back Success
     *
     * @param successOb success obj(if you want parsing,if you don't want parsing ,it will callback result)
     * @param result    result content
     */
    public abstract void onSuccess(T successOb, String result);

    /**
     * all back Failure
     *
     * @param failureObj failure obj
     */
    public abstract void onFailure(Object failureObj);
}
